Repository navigation
List an overlong installation ID among the "unavailable" reasons - #12
Merged
Merged
Conversation
The README's "Turning it off" list of what makes disabledReason() "unavailable" left out an explicit InstallId over 255 bytes, which the constructor rejects alongside an overlong version. Also move the json() doc comment back above json(); it sat above INSTALL_TAG instead. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Member
Author
|
Self-review rubric (scored against CI run 39412216947 on head 2f8d833, plus the diff):
Judgment note: Do-not-auto-merge check: neither This review was drafted during a Gardener session (https://github.com/Stephenson-Software/gardener). drafted by Claude on behalf of Daniel Stephenson |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stage A — documentation accuracy sweep of
README.md, the header comments,Makefile,CMakeLists.txtand the CI description, checked againsttrace_client.hpp.Summary
disabledReason() == "unavailable"left out an explicitInstallIdover 255 bytes. The constructor rejects one alongside an overlong version (trace_client.hpp,init():explicitId.size() > MAX_LENGTH), and the installation-ID section of the README already says so. The list has been brought in line. The behaviour is covered by the existing testaBlankInstallIdMeansNoneAndAnOverlongOneIsRejected.trace_client.hpp: the doc comment fordetail::json("The report body. JSON is written by hand…") had ended up aboveINSTALL_TAG, separated fromjson()bywithInstall,isValidInstallId,randomUuid,pathKindandmakeParentDirectories. It has been moved back abovejson(). The change is comment-only, so no code changes.The rest of the sweep found no other drift. Every number in the promise table (256, 5 s, 255 bytes, 32 tags), the opt-out values and precedence, the disabled-reason strings, the curl command line and
protoline, theUser-Agent/version triple (0.3.0), the build targets and the CI matrix description match the source.Test plan
make test(g++, C++11):50 tests, 0 failed checks. The test count is unchanged because no tests were added.Buildgreen on the PR headDeferred
TRACE_CLIENT_CURLignored on Windows whenSystem32\curl.exeexists) was not picked up. The issue asks the owner to choose between honouring the override and documenting the current behaviour, so it needs an owner decision before either change.No tracking issue: these gaps were found during the documentation sweep.
This PR description was drafted during a Gardener session (https://github.com/Stephenson-Software/gardener).
🤖 Generated with Claude Code
drafted by Claude on behalf of Daniel Stephenson